package factory.abstr;

/**
 * @author wangkaiqiang
 * @title: AbstractFactoryTest
 * @projectName DesignPattern
 * @description: TODO
 * @date 2019/6/2310:22
 */
public class AbstractFactoryTest {
    public static void main(String[] args) {
        MilkFactory milk = new MilkFactory();
        //用户只选择牛奶就行
        System.out.println(milk.getMengNiu());
    }
}
